<?php
require_once '../../lib/barge/bootstrap.inc.php';
use barge\System;
use barge\web\Application;

System::setBaseDir('.');

// Set classpaths
$classloader = System::getClassLoader();
$classloader->addClassIncludePath('Smarty', '../../lib/smarty/Smarty.class.php');

// Add message.
//System::loadProperty('WEB-INF/messages.ini');

// Invoke application.
$application = new Application('/.app');
$application->process();

?>